#include <stdio.h>

int main(int argc, char **argv) {
char str[1024];
char str2[1024];
char str3[1024];
char str4[1024];
char str5[1024];
char str6[1024];
FILE *f;

f = fopen(argv[1], "r");
if (!f) {
puts("soubor nelze otevřít");
return 1;
}

while (fgets(str, 1024, f)) fputs(str, stdout);
fclose(f);
return 0;
}